package ve.lm.hrms_cy.Entity.Request;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

public class BillQueryRequest {

    private Integer current;     // 当前页
    private Integer size;
    private Long id;// 每页数量
    private String department;   // 模糊查询：部门名称

    @JsonCreator
    public BillQueryRequest(
            @JsonProperty("current") Integer current,
            @JsonProperty("size") Integer size,
            @JsonProperty("id") Long id ,
            @JsonProperty("department") String department
    ) {
        this.current = current;
        this.size = size;
        this.id=id;
        this.department = department;
    }

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
